<script setup lang="ts">
import ChannelNav from './components/ChannelNav.vue';
import ArticleList from './components/ArticleList.vue';
import {ref} from 'vue'
// 两个组件都要用到的当前激活id
const activeId = ref(0)
</script>

<template>
    <ChannelNav v-model:active-id="activeId"/>
    <ArticleList :activeId="activeId"/>
</template>

<style scoped lang="less">

</style>